<?php

/*
 * This is product details page.
 */
include 'config.php';
$pro = true;
?>
<html>
    <head>
        <title>Admin</title>
        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
        <style media="all" type="text/css">@import "css/all.css";</style>
    </head>
    <body>
        <div id="main">
            <?php include 'nav.php'; ?>
            <div id="middle">
                <div id="left-column">
                    <h3>Product Details</h3>
                    <ul class="nav">
                        <li><a href="">Details</a></li>
                        <li class="last" ><a href="#">Edit</a></li>
                    </ul>                    
                </div>

                <!--             Details starts-->
                <div id="center-column">
                    <div class="top-bar">
                        <h1>Product details,</h1>
                        <div class="breadcrumbs"><a href="index">Homepage</a></div>
                    </div>
                    <br /><hr/> 
                    <b>This screen will give you a quick overview of the product, Salusbaby. </b><br/>
                    <h2>PRODUCT DETAILS:</h2>
                    <div class="table"  >
                        <img src="img/bg-th-left.gif" width="8" height="7" alt="" class="left" />
                        <img src="img/bg-th-right.gif" width="7" height="7" alt="" class="right" />
                        <table class="listing" cellpadding="0" cellspacing="0">
                            <tr>
                                <th class="first" width="177">Index</th>

                                <th class="last" width="100" >Value</th>
                            </tr>
                           <?php                            
                            $detail = mysql_fetch_array(mysql_query("select detail from salus_buy_detail where FK_fa_product_id =2 "));
                           ?>
                            <tr class="bg" >
                                <td class="first style1">- Product Name </td>                               
                                <td class="last"><b>SalusBaby</b></td>
                            </tr>
                            <tr class="bg">
                                <td class="first style1">- Total Options  </td>                               
                                <td class="last">
                                    <?php  $geta = mysql_query("select * from salus_buy_detail where FK_fa_product_id =2 "); 
                                       while ($row = mysql_fetch_array($geta)) {?>
                                          <?=$row[2]?>--->@<?=$row[3]?>&euro;<br>
                                    <?php } ?>
                                    </td>
                            </tr>
                            <tr>
                                <td class="first style1">- Product Detail </td>                               
                                <td class="last" style="text-align: justify;" > <?php echo $detail[0]?> </td>
                            </tr>                            
                        </table>                        
                    </div>

                </div>
                <div id="right-column">
                    <strong class="h">INFO</strong>
                    <div class="box">This is product detail page. </div>
                    <div id="google_translate_element"></div>
                </div>
            </div>
            <div id="footer"></div>
        </div>


    </body>
</html>
